/* Web Development Hero Section */
.web-hero-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #0c0b0e 0%, #1a1a1f 100%);
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.web-hero-section .hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Base Font Sizes */
.web-hero-section {
    --base-font-size: 16px;
    --title-font-size: clamp(2rem, 5vw, 3.5rem);
    --description-font-size: clamp(1rem, 2.5vw, 1.125rem);
    --tag-font-size: clamp(0.75rem, 2vw, 0.875rem);
}

/* Left Content */
.web-hero-section .hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInLeft 1s ease-out;
}

.web-hero-section .hero-tag {
    display: inline-block;
    font-size: var(--tag-font-size);
    font-weight: 600;
    color: #C2FC0D;
    padding: clamp(0.5rem, 1.5vw, 0.75rem) clamp(1rem, 2.5vw, 1.25rem);
    background: rgba(194, 252, 13, 0.1);
    border: 1px solid rgba(194, 252, 13, 0.2);
    border-radius: 25px;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.web-hero-section .hero-tag:hover {
    background: rgba(194, 252, 13, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(194, 252, 13, 0.3);
}

.web-hero-section .hero-tag::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(194, 252, 13, 0.2), transparent);
    animation: slideIn 2s linear infinite;
}

.web-hero-section .hero-title {
    font-size: var(--title-font-size);
    font-weight: 800;
    color: #ffffff;
    line-height: clamp(1.1, 3vw, 1.2);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.web-hero-section .hero-title .highlight {
    color: #C2FC0D;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.web-hero-section .hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #C2FC0D;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.web-hero-section .hero-title .highlight:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.web-hero-section .hero-description {
    font-size: var(--description-font-size);
    line-height: clamp(1.4, 3vw, 1.6);
    color: rgba(255, 255, 255, 0.85);
    max-width: 500px;
    margin-bottom: 30px;
}

/* Contact Button */
.web-hero-section .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: clamp(0.75rem, 2vw, 1rem) clamp(1.5rem, 3vw, 2rem);
    background: #C2FC0D;
    color: #0c0b0e;
    text-decoration: none;
    font-weight: 600;
    font-size: clamp(0.875rem, 2vw, 1rem);
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(194, 252, 13, 0.3);
    position: relative;
    overflow: hidden;
}

.web-hero-section .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(194, 252, 13, 0.4);
}

.web-hero-section .btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.web-hero-section .btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.web-hero-section .btn-primary svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.web-hero-section .btn-primary:hover svg {
    transform: translateX(5px);
}

/* Right Content - Illustration */
.web-hero-section .hero-image {
    position: relative;
    z-index: 2;
    animation: fadeInRight 1s ease-out;
}

.web-hero-section .web-illustration {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    transform-style: preserve-3d;
    animation: floatPhone 6s ease-in-out infinite;
}

.web-hero-section .web-illustration img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.web-hero-section .web-illustration:hover img {
    transform: scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

/* Background Grid */
.web-hero-section .bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(194, 252, 13, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(194, 252, 13, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

.web-hero-section .bg-grid:nth-child(2) {
    animation-delay: 5s;
    opacity: 0.5;
}

.web-hero-section .bg-grid:nth-child(3) {
    animation-delay: 10s;
    opacity: 0.3;
}

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes floatPhone {
    0%, 100% {
        transform: translateY(0) rotateX(0) rotateY(0);
    }
    50% {
        transform: translateY(-20px) rotateX(2deg) rotateY(2deg);
    }
}

@keyframes slideIn {
    from {
        left: -100%;
    }
    to {
        left: 100%;
    }
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .web-hero-section .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .web-hero-section .hero-description {
        max-width: 600px;
        margin: 0 auto 30px;
    }
    
    .web-hero-section .web-illustration {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .web-hero-section {
        padding: 80px 0;
    }
    
    .web-hero-section .hero-wrapper {
        gap: 30px;
    }
    
    .web-hero-section .web-illustration {
        max-width: 350px;
    }
}

@media (max-width: 576px) {
    .web-hero-section {
        padding: 60px 0;
    }
    
    .web-hero-section .hero-wrapper {
        gap: 20px;
        padding: 0 15px;
    }
    
    .web-hero-section .web-illustration {
        max-width: 300px;
    }
}

/* Small screen adjustments */
@media (max-width: 480px) {
    .web-hero-section {
        padding: 40px 0;
    }
    
    .web-hero-section .hero-wrapper {
        padding: 0 10px;
    }
    
    .web-hero-section .web-illustration {
        max-width: 280px;
    }
}

/* Extra small screen adjustments */
@media (max-width: 380px) {
    .web-hero-section {
        padding: 30px 0;
    }
    
    .web-hero-section .hero-wrapper {
        gap: 15px;
    }
    
    .web-hero-section .web-illustration {
        max-width: 250px;
    }
}
/* Base Font Sizes */
.web-hero-section {
    --base-font-size: 16px;
    --title-font-size: clamp(1.5rem, 4vw, 2.5rem);  /* 减小标题字体大小 */
    --description-font-size: clamp(1rem, 2.5vw, 1.125rem);
    --tag-font-size: clamp(0.75rem, 2vw, 0.875rem);
}

/* Adjusted Font Sizes */
.web-hero-section .hero-title {
    font-size: var(--title-font-size);
    line-height: clamp(1.1, 3vw, 1.2);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
/* Services Overview Section */
.services-overview-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a1f 0%, #0c0b0e 100%);
    overflow: visible;
    min-height: 100vh;
    display: block;
}

.overview-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
    display: block;
    visibility: visible;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
    visibility: visible;
    opacity: 1;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(194, 252, 13, 0.1);
    border-radius: 16px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
    visibility: visible;
    opacity: 1;
    min-height: 300px;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(194, 252, 13, 0.1);
    border: 1px solid rgba(194, 252, 13, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    visibility: visible;
    opacity: 1;
}

.service-icon svg {
    width: 24px;
    height: 24px;
    color: #C2FC0D;
    transition: transform 0.3s ease;
    display: block;
    visibility: visible;
}

.service-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    visibility: visible;
    opacity: 1;
}

.service-content h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
    text-align: left;
    visibility: visible;
    opacity: 1;
}

.service-content p {
    font-size: clamp(0.875rem, 2vw, 1rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    text-align: left;
    visibility: visible;
    opacity: 1;
}

/* Container visibility */
.container {
    position: relative;
    visibility: visible;
    opacity: 1;
    display: block;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .services-overview-section {
        padding: 80px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 25px;
        min-height: 250px;
    }
}

@media (max-width: 576px) {
    .services-overview-section {
        padding: 60px 0;
    }
    
    .overview-header {
        margin-bottom: 50px;
    }
    
    .service-card {
        padding: 20px;
        min-height: 200px;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
    }
    
    .service-icon svg {
        width: 20px;
        height: 20px;
    }
}
/* Process Section */
.process-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #0c0b0e 0%, #1a1a1f 100%);
    overflow: hidden;
}

.process-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.process-section .section-tag {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: #C2FC0D;
    padding: 8px 20px;
    background: rgba(194, 252, 13, 0.1);
    border: 1px solid rgba(194, 252, 13, 0.2);
    border-radius: 25px;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: pulse 2s infinite;
}

.process-section .section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 20px;
}

.process-section .section-title .highlight {
    color: #C2FC0D;
    position: relative;
}

.process-section .section-description {
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.process-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(194, 252, 13, 0.1);
    border-radius: 16px;
    padding: 30px;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}

.process-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(194, 252, 13, 0.2);
    box-shadow: 0 20px 40px rgba(194, 252, 13, 0.1);
}

.process-number {
    font-size: 48px;
    font-weight: 700;
    color: rgba(194, 252, 13, 0.2);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.process-card:hover .process-number {
    color: #C2FC0D;
    transform: scale(1.1);
}

.process-content h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
}

.process-content p {
    font-size: clamp(0.875rem, 2vw, 1rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.process-card:hover .process-content p {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .process-section {
        padding: 80px 0;
    }
    
    .process-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .process-card {
        padding: 25px;
    }
}

@media (max-width: 576px) {
    .process-section {
        padding: 60px 0;
    }
    
    .process-card {
        padding: 20px;
    }
    
    .process-number {
        font-size: 36px;
    }
}
/* Technologies Section */
.technologies-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #0c0b0e 0%, #1a1a1f 100%);
    overflow: hidden;
}

.tech-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.technologies-section .section-tag {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: #C2FC0D;
    padding: 8px 20px;
    background: rgba(194, 252, 13, 0.1);
    border: 1px solid rgba(194, 252, 13, 0.2);
    border-radius: 25px;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: pulse 2s infinite;
}

.technologies-section .section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 20px;
}

.technologies-section .section-title .highlight {
    color: #C2FC0D;
    position: relative;
}

.technologies-section .section-description {
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.tech-card {
    text-align: center;
    position: relative;
    padding: 20px;
}

.tech-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 50%;
}

.tech-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: none;
    opacity: 1;
}

.tech-card h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 10px;
}

.tech-card p {
    font-size: clamp(0.875rem, 2vw, 1rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .technologies-section {
        padding: 80px 0;
    }

    .tech-grid {
        display: flex;
        overflow-x: auto;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        direction: rtl;
        padding: 0 20px;
        gap: 20px;
        scroll-snap-type: x mandatory;
    }

    .tech-grid::-webkit-scrollbar {
        display: none;
    }

    .tech-card {
        flex: 0 0 85%;
        scroll-snap-align: center;
        direction: ltr;
    }

    .tech-icon {
        width: 80px;
        height: 80px;
    }
    
    .tech-icon img {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 576px) {
    .technologies-section {
        padding: 60px 0;
    }
    
    .tech-card {
        flex: 0 0 80%;
    }
    
    .tech-icon {
        width: 70px;
        height: 70px;
    }
    
    .tech-icon img {
        width: 50px;
        height: 50px;
    }
}

/* Animation */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* FAQ Section */
.faq-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a1f 0%, #0c0b0e 100%);
    overflow: hidden;
}

.faq-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-left {
    position: sticky;
    top: 100px;
    padding-right: 40px;
    text-align: left; /* 添加左对齐 */
}

.faq-section .section-tag {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: #C2FC0D;
    padding: 8px 20px;
    background: rgba(194, 252, 13, 0.1);
    border: 1px solid rgba(194, 252, 13, 0.2);
    border-radius: 25px;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: left; /* 添加左对齐 */
}

.faq-section .section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 20px;
    text-align: left; /* 添加左对齐 */
}

.faq-section .section-title .highlight {
    color: #C2FC0D;
    position: relative;
}

.faq-section .section-description {
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    text-align: left; /* 添加左对齐 */
}

.faq-right {
    position: relative;
    padding-left: 40px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(194, 252, 13, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(194, 252, 13, 0.2);
    transform: translateX(5px);
}

.faq-item.active {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(194, 252, 13, 0.2);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    font-size: clamp(1rem, 2vw, 1.125rem);
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    flex: 1;
    padding-right: 20px;
    text-align: left;
    line-height: 1.4;
}

.faq-toggle {
    background: rgba(194, 252, 13, 0.1);
    border: 1px solid rgba(194, 252, 13, 0.2);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq-toggle:hover {
    background: rgba(194, 252, 13, 0.2);
    transform: scale(1.1);
}

.faq-item.active .faq-toggle {
    background: #C2FC0D;
    transform: rotate(45deg);
}

.plus-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
}

.plus-icon::before,
.plus-icon::after {
    content: '';
    position: absolute;
    background: #C2FC0D;
    transition: all 0.3s ease;
}

.faq-item.active .plus-icon::before,
.faq-item.active .plus-icon::after {
    background: #0c0b0e;
}

.plus-icon::before {
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    transform: translateY(-50%);
}

.plus-icon::after {
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    transform: translateX(-50%);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
}

.faq-answer p {
    padding: 25px;
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: clamp(0.875rem, 2vw, 1rem);
    line-height: 1.6;
    text-align: left;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .faq-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .faq-left {
        position: static;
        padding-right: 0;
    }

    .faq-right {
        padding-left: 0;
    }
}

@media (max-width: 768px) {
    .faq-section {
        padding: 80px 0;
    }

    .faq-question {
        padding: 20px;
    }

    .faq-answer p {
        padding: 20px;
    }

    .faq-toggle {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 576px) {
    .faq-section {
        padding: 60px 0;
    }

    .faq-question h3 {
        font-size: 0.95rem;
    }

    .faq-answer p {
        font-size: 0.875rem;
    }
}
